package com.example.jpa.service.impl;

import com.example.jpa.entity.User;
import org.springframework.data.domain.Page;

import java.util.List;

public interface UserService {

    User login(String username, String password);

    List<User> like(String username);

    List<User> list(User user);

    Page<User> page(User user, int pageSize, int pageNum);
}
